class Status:
    SUCCESS = 0
    FAILURE = 1
    UNKNOWN = 2
    INVALID_PARAMETER = 3

    USER_EXISTS = 10001
    USER_NOT_EXISTS = 10002

    ORDDER_NOT_EXIST = 10100

    StatusDic = {
        SUCCESS: "成功",
        FAILURE: "失败",
        UNKNOWN: "未知错误",
        INVALID_PARAMETER: "无效参数",
        USER_EXISTS: "用户已存在",
        USER_NOT_EXISTS: "用户不存在",
        ORDDER_NOT_EXIST: "订单不存在",
    }

    def __init__(self):
        pass


def get_desc(status_code: int) -> str:
    return Status.StatusDic[status_code]
